package com.lanou3g.ptp.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@Data
@ApiModel(description = "教师类")
public class Teacher implements Serializable {

    @ApiModelProperty("教师id")
    private Long id;

    @ApiModelProperty("用户")
    private User user;

    @ApiModelProperty("教师类型(0校内，1校外)")
    private Integer type;

    @ApiModelProperty("学校id")
    private Long schoolId;

    @ApiModelProperty("学院id")
    private Long collegeId;

    @ApiModelProperty("专业id")
    private Long majorId;

    @ApiModelProperty("教研室")
    private String teachsection;

    @ApiModelProperty("实习基地id")
    private Long baseId;

    @ApiModelProperty(name = "状态", hidden = true)
    private Integer status;

    @ApiModelProperty(name = "创建时间", hidden = true)
    private Date createTime;

    @ApiModelProperty(name = "更新时间", hidden = true)
    private Date updateTime;

    private String collegeName;
    private String majorName;
    private String baseName;

    @ApiModelProperty("角色（0 admin，1 指导教师，2 院级教师，3 实习单位，4 学生）")
    private Integer role;

}
